<!--
  To change this template, choose Tools | Templates
  and open the template in the editor.
-->

<%@ page contentType="text/html;charset=UTF-8" %>

<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <meta name="layout" content="main" />
    <title></title>
</head>
  <body>
        <div class="nav">
            <span class="menuButton"><a class="home" href="${resource(dir:'')}">Home</a></span>
        </div>
        <div class="body">
            <h1>Buscar</h1>
                <div class="dialog">
                  <g:form action="findByName" method="post" >
                    <table>
                      <tbody>
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="name">Digite o nome:</label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean:productInstance,field:'name','errors')}">
                                    <input type="text" id="name" name="name" value="${fieldValue(bean:productInstance,field:'name')}"/>
                                </td>
                            </tr>
                      </tbody>
                    </table>
                </div>
                <div class="buttons">
                  <span class="button"><input class="save" type="submit" value="Buscar"/></span>
                </div>
            </g:form>
        </div>
  </body>
</html>
